package hotel.server;




import hotel.rmi.HotelService;

import java.rmi.Naming;

public class HotelServer {

	public HotelServer() {
		try {
			HotelService c = new HotelServiceImpl();
			Naming.rebind("rmi://localhost/CalculatorService", c);
		} catch (Exception e) {
			System.out.println("Trouble: " + e);
		}
	}

	public static void main(String args[]) {
		new HotelServer();
	}
}
